package business {
	import mx.rpc.IResponder;

	import vo.ProductVO;

	public class ProductDelegate {
		private var _service:Object;
		private var _responder:IResponder;

		public function ProductDelegate(responder:IResponder) {
			this._responder=responder;
		}

		public function addProduct(product:ProductVO):void {
			_responder.result(product);
		}

		public function delProduct(index:int):void {
			_responder.result(index);
		}
	}
}